<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar2">基本信息</td>

	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目名称：</td>
		<td colspan="3"><input id="zh_title" name="proposal/zh_title"
			label="项目名称" type="text" required
			class="input_css required maxlength:100" style="width: 725px;"
			maxlength="100"
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目实施地点：</td>
		<td colspan="3"><input name="proposal/address" label="项目实施地点"
			type="text" required class="input_css required "
			maxlength="100"
			value="<x:out select="$xmlData/data/proposal/address" />" /></td>
		
	</tr>
	<tr>
      	<td  align="right" nowrap><span class="color_red">*</span>项目开始时间：</td>
		<td >
			<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
			<cpt:date id="start_date" name="proposal/start_date" value="${start_date}" className="required date  dateCompare:end_date" label="项目开始时间" ></cpt:date> 
		</td>
		<td  align="right" nowrap><span class="color_red">*</span>项目结束时间：</td>
		<td  >
			<c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date" /></c:set>
			<cpt:date id="end_date" name="proposal/end_date" className="required date" label="项目结束时间"  value="${end_date}" ></cpt:date> 
		</td>
	</tr>
	<tr>
	<td width="135" align="right"><span class="color_red">*</span>项目级次：</td>
	<td  valign="middle">
	<label> <input type="radio" class="do " id="project_level_01" style="vertical-align: middle;" name="project_level" label="国家" value="01" /><span style="vertical-align: middle;">国家</span></label> 
	<label> <input type="radio" class="do " id="project_level_02" style="vertical-align: middle;" name="project_level" label="省级" value="02" /><span style="vertical-align: middle;">省级</span></label> 
	<input type="hidden" name="proposal/project_level_value" id="project_level_value" class="required" value="<x:out select="$xmlData/data/proposal/project_level_value" />" label="项目级次" /> 
	<input type="hidden" name="proposal/project_level_name" id="project_level_name" value="<x:out select="$xmlData/data/proposal/project_level_name" />"  /></td>
	<td align="right"><span class="color_red">*</span>立项部门：</td>
	<td><input name="proposal/approval_unit" label="立项部门" type="text"  class="input_css required " maxlength="20" value="<x:out select="$xmlData/data/proposal/approval_unit" />" /></td>
	</tr>
	<tr>
	<td width="135" align="right"><span class="color_red">*</span>项目内容：</td>
	<td  valign="middle" colspan="3">
	<label> <input type="radio" class="do " id="project_cotent_01" style="vertical-align: middle;" name="project_cotent" onclick="setContent();" label="企业人才培训配套" value="01" /><span style="vertical-align: middle;">企业人才培训配套</span></label> 
	<label> <input type="radio" class="do " id="project_cotent_02" style="vertical-align: middle;" name="project_cotent" onclick="delContent1('feaReport_upload');" label="培训机构人才培训配套" value="02" /><span style="vertical-align: middle;">培训机构人才培训配套</span></label>
	<label> <input type="radio" class="do " id="project_cotent_03" style="vertical-align: middle;" name="project_cotent" onclick="delContent1('feaReport_upload');" label="国际资质认证配套" value="03" /><span style="vertical-align: middle;">国际资质认证配套</span></label> 
	<input type="hidden" name="proposal/project_cotent_value" id="project_cotent_value" class="required" value="<x:out select="$xmlData/data/proposal/project_cotent_value" />" label="项目内容" /> 
	<input type="hidden" name="proposal/project_cotent_name" id="project_cotent_name" value="<x:out select="$xmlData/data/proposal/project_cotent_name" />"  /></td>
	</tr>
	<tr>
	<td align="center" rowspan="3"><span class="color_red">*</span>项目所属类别
	<input type="hidden" name="proposal/basic/domain_value" id="domain_value" class="required"
			value="<x:out select="$xmlData/data/proposal/basic/domain_value" />" label="项目所属类别" />
     <input type="hidden" name="proposal/basic/domain_name" id="domain_name"
			value="<x:out select="$xmlData/data/proposal/basic/domain_name" />"/></td>
	<td><input
				type="checkbox" class="do " id="advant_01" 
				style="vertical-align: middle;" name="domain" label="信息技术外包服务"
				value="01" onclick="setRadio('advant_01','xxjswbfu');"/><span style="vertical-align: middle;">信息技术外包服务</span></td>
	<td colspan="2"><c:set var="xxjswbfu"><x:out select="$xmlData/data/proposal/xxjswbfu_value" /></c:set>
			<cpt:checkbox key="xxjswbfu" name="xxjswbfu" repeatColumn="2"  style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
			<input type="hidden"  name="proposal/xxjswbfu_value"  value="${xxjswbfu}" >
			<input type="hidden" name="proposal/xxjswbfu_name" value="<x:out select="$xmlData/data/proposal/xxjswbfu_name" />"></td>
	</tr>
	<tr style="display:none"><td></td></tr>
	<tr>
	<td><input
				type="checkbox" class="do " id="advant_02"
				style="vertical-align: middle;" name="domain" label="技术性业务流程外包服务"
				value="02" onclick="setRadio('advant_02','jsxywlcwbfu');"/><span style="vertical-align: middle;">技术性业务流程外包服务</span></td>
	<td colspan="2"><c:set var="jsxywlcwbfu"><x:out select="$xmlData/data/proposal/jsxywlcwbfu_value" /></c:set>
			<cpt:checkbox key="jsxywlcwbfu" name="jsxywlcwbfu" repeatColumn="2" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
			<input type="hidden"  name="proposal/jsxywlcwbfu_value"  value="${jsxywlcwbfu}" >
			<input type="hidden" name="proposal/jsxywlcwbfu_name" value="<x:out select="$xmlData/data/proposal/jsxywlcwbfu_name" />"></td>
	</tr>
	
	<tr>
	<td><input
				type="checkbox" class="do " id="advant_03"
				style="vertical-align: middle;" name="domain" label="技术性知识流程外包服务"
				value="03" onclick="setRadio('advant_03','jsxzslcwbfu');"/><span style="vertical-align: middle;">技术性知识流程外包服务</span></td>
	<td colspan="2"><c:set var="jsxzslcwbfu"><x:out select="$xmlData/data/proposal/jsxzslcwbfu_value" /></c:set>
			<cpt:checkbox key="jsxzslcwbfu" name="jsxzslcwbfu" repeatColumn="2" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
			<input type="hidden"  name="proposal/jsxzslcwbfu_value"  value="${jsxzslcwbfu}" >
			<input type="hidden" name="proposal/jsxzslcwbfu_name" value="<x:out select="$xmlData/data/proposal/jsxzslcwbfu_name" />"></td>
	</tr>
<tr style="display:none"><td></td></tr>
   <tr>
		<td align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="3"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" className=" required date" label="申报日期"></cpt:date>
		</td>

	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo3" cellspacing="1">
	
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>2012年度企业经营情况（培训机构人才培训配套项目不需填写年服务外包收入、年服务外包离岸收入）</td>

	</tr>
	<tr>
	<td align="right">企业总收入（万元）：</td>
	<td colspan="2"><input name="proposal/budget1"  id="budget1"   type="text" 
			class="input_css required" style="text-align: right" label="企业总收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/budget1" />" /></td>
	<td align="right">同比增幅（%）：</td>
	<td colspan="2"><input name="proposal/budget1_pre"  id="budget1_pre"   type="text" 
			class="input_css required" style="text-align: right" label="企业总收入->同比增幅"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			value="<x:out select="$xmlData/data/proposal/budget1_pre" />" /></td>
	
	</tr>
	<tr>
	<td align="right">交税总额（万元）：</td>
	<td colspan="2"><input name="proposal/budget2"  id="budget2"   type="text" 
			class="input_css required" style="text-align: right" label="交税总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/budget2" />" /></td>
	<td align="right">同比增幅（%）：</td>
	<td colspan="2"><input name="proposal/budget2_pre"  id="budget2_pre"   type="text" 
			class="input_css required" style="text-align: right" label="交税总额->同比增幅"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			value="<x:out select="$xmlData/data/proposal/budget2_pre" />" /></td>
	
	</tr>
	
	<tr>
	<td align="right">年服务外包收入（万元）：</td>
	<td><input name="proposal/budget3"  id="budget3"   type="text" 
			class="input_css required" style="text-align: right" label="年服务外包收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/budget3" />" /></td>
	<td align="right">同比增幅（%）：</td>
	<td ><input name="proposal/budget3_pre"  id="budget3_pre"   type="text" 
			class="input_css required" style="text-align: right" label="年服务外包收入->同比增幅"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			value="<x:out select="$xmlData/data/proposal/budget3_pre" />" /></td>
	
	<td align="right">占总收入比重（%）：</td>
	<td ><input name="proposal/budget3_pre2"  id="budget3_pre2"   type="text" 
			class="input_css required" style="text-align: right" label="年服务外包收入->占总收入比重"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/proposal/budget3_pre2" />" /></td>
	
	
	</tr>
	
	<tr>
	<td align="right">年服务外包离岸收入（万美元）：</td>
	<td><input name="proposal/budget4"  id="budget4"   type="text" 
			class="input_css required" style="text-align: right" label="年服务外包离岸收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/budget4" />" /></td>
	<td align="right">同比增幅（%）：</td>
	<td ><input name="proposal/budget4_pre"  id="budget4_pre"   type="text" 
			class="input_css required" style="text-align: right" label="年服务外包离岸收入->同比增幅"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			value="<x:out select="$xmlData/data/proposal/budget4_pre" />" /></td>
	
	<td align="right">占总收入比重（%）：</td>
	<td ><input name="proposal/budget4_pre2"  id="budget4_pre2"   type="text" 
			class="input_css required" style="text-align: right" label="年服务外包离岸收入->占总收入比重"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/proposal/budget4_pre2" />" /></td>
	</tr>
</table>	
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo2" cellspacing="1">
	<tr>
		<td colspan="8" class="t_bar2"><span class="color_red">*</span>人员构成情况</td>

	</tr>

	<tr>

		<td align="right">职工总数：</td>
		<td><input name="proposal/staff_total"  id="staff_total"   type="text" 
			class="input_css required" style="text-align: right" label="职工总数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="setPre();setPre2();"
			value="<x:out select="$xmlData/data/proposal/staff_total" />" /></td>
		<td align="right" colspan="2">大专以上学历者占比（%）：</td>
		<td>
		<input name="proposal/junior_college_pre_pre" 
		label="100%" id="junior_college_pre_pre" value='100' type="hidden">
		<input name="proposal/junior_college_pre"  id="junior_college_pre"   type="text" 
			class="input_css required gray valueCompare:junior_college_pre:junior_college_pre_pre" style="text-align: right"  disabled
			onfocus="InitInput.setNumber(this,9,2,2)" label="大专以上学历者占比"
			value="<x:out select="$xmlData/data/proposal/junior_college_pre" />" /></td>
	</tr>
	<tr>

		<td align="right">其中软件技术人员数：</td>
		<td><input name="proposal/teach_staff"  id="teach_staff"   type="text"  label="其中软件技术人员数"
			class="input_css valueGreatEqual:staff_total:teach_staff required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="setPre();"
			value="<x:out select="$xmlData/data/proposal/teach_staff" />" /></td>
		<td align="right" colspan="2">软件技术人员数占比（%）：</td>
		<td><input name="proposal/teach_staff_pre"  id="teach_staff_pre"   type="text" 
			class="input_css gray valueCompare:teach_staff_pre:junior_college_pre_pre"  disabled style="text-align: right"
			onfocus="InitInput.setNumber(this,9,2,2)" label="软件技术人员数占比"
			value="<x:out select="$xmlData/data/proposal/teach_staff_pre" />" /></td>
	</tr>

	<tr>
		<td align="center" rowspan="2">职工学历构成</td>
		<td align="center">大专</td>
		<td align="center">本科</td>
		<td align="center">硕士</td>
		<td align="center">博士</td>
	</tr>
	<tr>

		<td >
		    <input name="proposal/edu_total" id="edu_total" type="hidden" label="职工学历构成总数" value="<x:out select="$xmlData/data/proposal/edu_total" />"/>
		    <input name="proposal/junior_college"  id="junior_college"   type="text" 
			class="input_css valueCompare:edu_total:staff_total required" style="text-align: right" label="大专"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/junior_college" />" /></td>
		<td><input name="proposal/undergraduate" id="undergraduate" type="text" 
			class="input_css required" style="text-align: right" label="本科"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/undergraduate" />" /></td>
		<td ><input name="proposal/master" id="master" type="text" 
			class="input_css required" style="text-align: right" label="硕士"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/master" />" /></td>
		<td ><input name="proposal/doctor" id="doctor"  type="text" 
			class="input_css required" style="text-align: right" label="博士"
			onfocus="InitInput.setNumber(this,9,0,0)"
		    onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/doctor" />" /></td>
	</tr>

	<tr>
		<td align="center" rowspan="2">软件专业人员构成</td>
		<td align="center">研发人员数</td>
		<td align="center">工程和项目管理人员数</td>
		<td align="center">市场推广与技术服务人员数</td>
		<td align="center">&nbsp;</td>
	</tr>
	<tr>

		<td >
		<input name="proposal/assistant_total" id="assistant_total" label="软件专业人员构成总数" type="hidden" value="<x:out select="$xmlData/data/proposal/assistant_total" />"/>
		<input name="proposal/assistant_level"  id="assistant_level"   type="text" 
			class="input_css valueCompare:assistant_total:staff_total required" style="text-align: right" label="助理级"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','assistant_level,middle_level,high_level','assistant_total');"
			value="<x:out select="$xmlData/data/proposal/assistant_level" />" /></td>
		<td ><input name="proposal/middle_level"  id="middle_level"   type="text" 
			class="input_css required" style="text-align: right" label="中级"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','assistant_level,middle_level,high_level','assistant_total');"
			value="<x:out select="$xmlData/data/proposal/middle_level" />" /></td>
		<td ><input name="proposal/high_level"  id="high_level"   type="text" 
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,0,0)" label="高级"
			onchange="countNum('','assistant_level,middle_level,high_level','assistant_total');"
			value="<x:out select="$xmlData/data/proposal/high_level" />" /></td>
		<td align="center">&nbsp;</td>
	</tr>
</table>
<br/>
<div class="t_bar3" id="ptxm">配套项目基本情况</div>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="train1">
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>企业人才培训配套项目：</td>
	</tr>
	<tr>
	<td align="right">获国家扶持资金(万元)：</td>
	<td colspan="2"><input name="proposal/country_support"  type="text" class="input_css required" style="text-align: right" label="获国家扶持资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/country_support" />" /></td>
	<td align="right">已到位资金(万元)：</td>
	<td colspan="2"><input name="proposal/support_already"  type="text" class="input_css required" style="text-align: right" label="已到位资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/support_already" />" /></td>
	</tr>
	<tr>
	<td align="right">已完成培训支出(万元)：</td>
	<td colspan="2"><input name="proposal/train_pay"  type="text" class="input_css required" style="text-align: right" label="已完成培训支出"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/train_pay" />" /></td>
	<td align="right">其中：国家扶持资金（万元）：</td>
	<td colspan="2"><input name="proposal/funds_available"  type="text" class="input_css required" style="text-align: right" label="其中：国家扶持资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/funds_available" />" /></td>
	</tr>
	<tr>
	<td align="right">新录用人员数：</td>
	<td ><input name="proposal/hire_people"  type="text" class="input_css required" style="text-align: right" label="新录用人员数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/hire_people" />" /></td>
	<td align="right">其中签订一年以上<br/>劳动合同人数：</td>
	<td ><input name="proposal/hire_sign"  type="text" class="input_css required" style="text-align: right" label="其中签订一年以上劳动合同人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/hire_sign" />" /></td>
	<td align="right">其中本地参保人数：</td>
	<td ><input name="proposal/insured"  type="text" class="input_css required" style="text-align: right" label="其中本地参保人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/insured" />" /></td>
	</tr>
	<tr>
	<td align="right">已接受培训的<br/>新录用人员数：</td>
	<td ><input name="proposal/train_people"  type="text" class="input_css required" style="text-align: right" label="已接受培训的新录用人员数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/train_people" />" /></td>
	<td align="right">其中内部培训人数：</td>
	<td ><input name="proposal/inside_train_people"  type="text" class="input_css required" style="text-align: right" label="其中内部培训人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/inside_train_people" />" /></td>
	<td align="right">其中委托培训<br/>机构培训人数：</td>
	<td ><input name="proposal/entrust_train"  type="text" class="input_css required" style="text-align: right" label="其中委托培训机构培训人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/entrust_train" />" /></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="train2">
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>培训机构人才培训配套项目：</td>
	</tr>
	<tr>
	<td align="right">获国家扶持资金(万元)：</td>
	<td colspan="2"><input name="proposal/country_support_fwwb"  type="text" class="input_css required" style="text-align: right" label="获国家扶持资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/country_support_fwwb" />" /></td>
	<td align="right">已到位资金(万元)：</td>
	<td colspan="2"><input name="proposal/support_already_fwwb"  type="text" class="input_css required" style="text-align: right" label="已到位资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/support_already_fwwb" />" /></td>
	</tr>
	<tr>
	<td align="right">培训人数：</td>
	<td colspan="2"><input name="proposal/train_num"  type="text" class="input_css required" style="text-align: right" label="培训人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/train_num" />" /></td>
	<td align="right">其中通过考核人数：</td>
	<td colspan="2"><input name="proposal/pass_num"  type="text" class="input_css required" style="text-align: right" label="其中通过考核人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/pass_num" />" /></td>
	</tr>
	<tr>
	<td align="right">其中与服务外包企业签订<br/>1年以上劳动合同人数：</td>
	<td colspan="2"><input name="proposal/hire_sign_fwwb"  type="text" class="input_css required" style="text-align: right" label="其中与服务外包企业签订1年以上劳动合同人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/hire_sign_fwwb" />" /></td>
	<td align="right">其中无锡本地就业人数：</td>
	<td colspan="2"><input name="proposal/employment_figure_fwwb"  type="text" class="input_css required" style="text-align: right" label="其中无锡本地就业人数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/employment_figure_fwwb" />" /></td>
	</tr>
	<tr>
	<td align="right">培训总收入(万元)：</td>
	<td ><input name="proposal/train_income"  type="text" class="input_css required" style="text-align: right" label="培训总收入"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/train_income" />" /></td>
	<td align="right">培训总支出(万元)：</td>
	<td ><input name="proposal/total_train_pay"  type="text" class="input_css required" style="text-align: right" label="培训总支出"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_train_pay" />" /></td>
	<td align="right">其中非盈利培训项目个数：</td>
	<td ><input name="proposal/not_profit"  type="text" class="input_css required" style="text-align: right" label="其中非盈利培训项目个数"
			onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/not_profit" />" /></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="tblCertificationsinfo">
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>国际资质认证配套项目：</td>
	</tr>
	<tr>
	<td align="right">获国家扶持资金(万元)：</td>
	<td colspan="2"><input name="proposal/country_support_gjzz"  type="text" class="input_css required" style="text-align: right" label="获国家扶持资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/country_support_gjzz" />" /></td>
	<td align="right">已到位资金(万元)：</td>
	<td colspan="2"><input name="proposal/support_already_gjzz"  type="text" class="input_css required" style="text-align: right" label="已到位资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/support_already_gjzz" />" /></td>
	</tr>
	<tr>
	<td align="right">已获省扶持资金(万元)：</td>
	<td colspan="2"><input name="proposal/province_support_gjzz"  type="text" class="input_css required" style="text-align: right" label="已获省扶持资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/province_support_gjzz" />" /></td>
	<td align="right">已获市级扶持资金(万元)：</td>
	<td colspan="2"><input name="proposal/city_already_gjzz"  type="text" class="input_css required" style="text-align: right" label="已获市级扶持资金"
			onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/city_already_gjzz" />" /></td>
	</tr>
</table>
<div class="t_bar" id="tblCertifications2">
	<span class="color_red">*</span>资质认证情况

</div>
<table id="tblCertifications" cellpadding="0" class="t_css table01" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="5%">选择</th>
			<th class="TblHead" align="center" width="5%">序号</th>
			<th class="TblHead" align="center" width="15%">认证名称</th>
			<th class="TblHead" align="center" width="15%">认证类型</th>
			<th class="TblHead" align="center" width="10%">认证金额<br/>（万元）</th>
			<th class="TblHead" align="center" width="10%">认证级别</th>
			<th class="TblHead" align="center" width="18%">认证机构名称</th>
			<th class="TblHead" align="center" width="12%">认证证书编号</th>
			<th class="TblHead" align="center" width="10%">认证证书<br/>颁发日期</th>
		</tr>
	</thead>
	<tbody id="tab">
		<tr style="display: none">
			<td align="center"><input type="radio" class="radiobutton" name="selCertifications">
			</td>
			<td align="center"><span name="certifications|certification[0]@seq_no">[index]</span>
			</td>
			<td style="text-align: center;"><input type="text"
				name="certifications|certification[0]|certification_name" style="width:80%" class="input_text required"
				maxlength=50 label="认证名称" value="" />
			</td>
			<td style="text-align: center;">
				<cpt:select id="certification_type[index]" key="certification_type"  name="certification_type" onChange="initControlValue(this.id);" style="width:80%"></cpt:select>
		         <input type="hidden" name="certifications|certification[0]|certification_type_value" class="required" label="认证类型" value=""/>
		         <input type="hidden" name="certifications|certification[0]|certification_type_name" value=""/>
			</td>
			<td style="text-align: center;"><input type="text"
				name="certifications|certification[0]|certification_invest" style="width:80%;text-align: right;" class="input_text required" onfocus="InitInput.setNumber(this,9,4,2)" 
				label="认证金额" value="" />
			</td>
			<td style="text-align: center;"><input type="text"
				name="certifications|certification[0]|certification_level" style="width:80%" class="input_text required"
				maxlength=20 label="认证级别" value="" />
			</td>
			<td style="text-align: center;"><input type="text"
				name="certifications|certification[0]|certification_org_name" style="width:80%" class="input_text required"
				maxlength=50 label="认证机构名称" value="" />
			</td>
			<td style="text-align: center;"><input type="text"
				name="certifications|certification[0]|certification_no" style="width:80%" class="input_text required"
				maxlength=100 label="认证证书编号" value="" />
			</td>
			<td align="center" nowrap><input  id="certification_start_date_[0]" name="certifications|certification[0]|start_date" label="认证证书颁发日期" value="" class=" required input_text date " style="width:70px" /></td>
			
		</tr>


		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/certifications/certification" var="certification">

			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><input type="radio" class="radiobutton"
					name="selCertifications">
				</td>
				<td align="center"><span
					name="certifications/certification[${flag}${index}]@seq_no">${index+1}</span></td>
				<td style="text-align: center;"><input type="text" style="width:80%"
					name="certifications/certification[${flag}${index}]/certification_name"
					class="input_text required" maxlength=50 label="认证名称"
					value="<x:out select="$certification/certification_name" />" />
				</td>
			   <td style="text-align: center;"><c:set var="certification_type_value"><x:out select="$certification/certification_type_value" /></c:set>
						<cpt:select id="certification_type${index}" key="certification_type" name="certification_type" onChange="initControlValue(this.id);" value="${certification_type_value }" style="width:80%"></cpt:select>
			            <input type="hidden" name="certifications/certification[${flag}${index}]/certification_type_value" class="required" label="认证类型" value="<x:out select="$certification/certification_type_value" />"/>
			            <input type="hidden" name="certifications/certification[${flag}${index}]/certification_type_name" value="<x:out select="$certification/certification_type_name" />"/>
				</td>
				<td style="text-align: center;"><input type="text" style="width:80%;text-align: right;"
					name="certifications/certification[${flag}${index}]/certification_invest"
					class="input_text required" label="认证金额" onfocus="InitInput.setNumber(this,9,4,2)" 
					value="<x:out select="$certification/certification_invest" />" />
				</td>
				<td style="text-align: center;"><input type="text"  style="width:80%"
					name="certifications/certification[${flag}${index}]/certification_level"
					class="input_text required" maxlength=20 label="认证级别"
					value="<x:out select="$certification/certification_level" />" />
				</td>
				<td style="text-align: center;"><input type="text" style="width:80%"
					name="certifications/certification[${flag}${index}]/certification_org_name"
					class="input_text required" maxlength=20 label="认证机构名称"
					value="<x:out select="$certification/certification_org_name" />" />
				</td>
				<td style="text-align: center;"><input type="text"  style="width:80%"
					name="certifications/certification[${flag}${index}]/certification_no"
					class="input_text required" maxlength=100 label="认证证书编号"
					value="<x:out select="$certification/certification_no" />" />
				</td>
				<td align="center" nowrap><c:set var="start_date" scope="page"><x:out select="$certification/start_date"/></c:set>
							<input  id="certification_start_date_[${flag}${index}]" value="${start_date}" name="certifications/certification[${flag}${index}]/start_date" class="required date input_text" style="width:70px" label="认证证书颁发日期" /> 
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
		<script type="text/javascript">
						showAllDateTag("tblCertifications");
		</script>
	</tbody>
</table>
<table width="98%" align="center" border="0" id="tblCertifications3">
					<tr style="border: 0"><td style="border: 0"><input class="button" name="cmdAddbefore" type=button
			value="添加" onclick="addNewRow('tblCertifications');showDateTag('tblCertifications');try{topObjectFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev"
			type=button value="上移" onclick="movePrev('tblCertifications','selCertifications')"> <input
			class="button" name="cmdMoveNext" type=button value="下移"
			onclick="moveNext('tblCertifications','selCertifications')"> <input
			class="button" name="cmddel" type=button value="删除"
			onclick="deleteSelectedRow('tblCertifications','资质认证情况')"></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo6" cellspacing="1">

	<tr>
		<td colspan="6" class="t_bar2">申报项目资金情况</td>

	</tr>
	<tr>
		<td   align="right">项目类别：</td>
		<td  colspan="2"><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
		<td align="right" ><span class="color_red">*</span>申请金额（万元）：</td>
		<td  colspan="2">
			<input id="source_apply" name="proposal/total_funds" style="text-align:right;" onfocus="InitInput.setNumber(this,9,4,2)" label="申报项目资金情况->申请金额" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/total_funds" />"/> 
		</td>
		
	</tr>

	<tr>
	    <td align="right" >支持方式：</td>
		<td colspan="2"><span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		<td align="right">资金级次：</td>
		<td colspan="2">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	   
		<td  align="right">归口管理部门：</td>
		<td colspan="2">
			<span name="proposal/org_name">无锡市商务局</span> 
		</td>
		 <td  align="right">管理类别：</td>
		<td colspan="2">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" />
		</span>
		</td>
	</tr>
	
	<tr>
		<td  align="right"><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="6" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="申报项目资金情况->项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td class="t_bar2">申请资助依据条款</td>

	</tr>
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
			name="proposal/policy_foundation"><x:out
					select="$xmlData/data/proposal/policy_foundation" /></span>
		</td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org1">
	
	<tr>
		<td    class="t_bar2" colspan="4">合作参与单位信息</td>
		
	</tr>
	<tr>
		<td    class="t_bar2" colspan="4">合作单位信息1</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name1" label="合作单位信息1" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name1" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address1" label="合作单位信息1-->地址" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address1" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature1">{'id':'<x:out select="$xmlData/data/proposal/nature1_code" />','name':'<x:out select="$xmlData/data/proposal/nature1_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature1}"  label="合作单位信息1-->注册类型"
          		id="nature1" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature1_code" type="hidden" name="proposal/nature1_code" class="" label="合作单位信息1-->注册类型" value="<x:out select="$xmlData/data/proposal/nature1_code" />"/>
            <input id="nature1_name" type="hidden" name="proposal/nature1_name"  value="<x:out select="$xmlData/data/proposal/nature1_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no1" label="合作单位信息1-->组织机构代码" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no1" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name1" label="合作单位信息1-->联系人姓名" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name1" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel1" label="合作单位信息1-->联系人电话" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel1" />"/></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org2">
<tr>
		<td    class="t_bar2" colspan="4">合作单位信息2</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name2" label="合作单位信息2" type="text" required class="input_css " onchange="cydw('org2');"  style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name2" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address2" label="合作单位信息2-->地址" type="text" required class="input_css " onchange="cydw('org2');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address2" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature2">{'id':'<x:out select="$xmlData/data/proposal/nature2_code" />','name':'<x:out select="$xmlData/data/proposal/nature2_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature2}" label="合作单位信息2-->注册类型"
          		id="nature2" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature2_code" type="hidden" name="proposal/nature2_code"  class="" label="合作单位信息2-->注册类型" value="<x:out select="$xmlData/data/proposal/nature2_code" />"/>
            <input id="nature2_name" type="hidden" name="proposal/nature2_name"  value="<x:out select="$xmlData/data/proposal/nature2_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no2" label="合作单位信息2-->组织机构代码" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no2" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name2" label="合作单位信息2-->联系人姓名" type="text"  class="input_css "  onchange="cydw('org2');" maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name2" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel2" label="合作单位信息2-->联系人电话" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel2" />"/></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="textarea">
      <tr class="li_2">
          <td align="left"><strong><span class="color_red">*</span>现阶段项目推进情况</strong>（限300字）</td>
      </tr>
      <tr class="">
          <td>
			<textarea rows="5" cols="150"  class="input_textarea required  maxlength:300"   name='proposal/goal/summary1'  label="现阶段项目推进情况"><x:out select="$xmlData/data/proposal/goal/summary1"/></textarea>
		   <input type='hidden' name='proposal/goal/summary1_hidden' id='proposal/goal/summary1_hidden' value=''>
		  </td>
      </tr>
    </table>

<br />
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo7"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>

<script type="text/javascript">
$(function(){
	cydw('org1');
	cydw('org2');
	setRadio('advant_01','xxjswbfu');
	setRadio('advant_02','jsxywlcwbfu');
	setRadio('advant_03','jsxzslcwbfu');
	setContent();
});

function setRadio(id,name){
	if($("#"+id).is(":checked")){
		$("input[type='checkbox'][name='"+name+"']").attr('disabled',false);
	}else{
		$("input[type='checkbox'][name='"+name+"']").attr('disabled',true);
		$("input[type='checkbox'][name='"+name+"']").attr('checked',false);
		$("input[type='hidden'][name$='"+name+"_value']").val("");
		$("input[type='hidden'][name$='"+name+"_name']").val("");
	}
}

function setPre(){
	var  teach_staff=$("#teach_staff").val();
    var staff_total=$("#staff_total").val();
    $("#teach_staff_pre").val(formatVal(teach_staff*100/staff_total));
	
}
function setPre2(){
	var  edu_total=$("#edu_total").val();
    var  staff_total=$("#staff_total").val();
    if(staff_total==''){
    	$("#junior_college_pre").val("0.00");
    }else{
    $("#junior_college_pre").val(formatVal(edu_total*100/staff_total));
    }
}

function cydw(id){
	var count =0 ;
	$("#"+id).find("input[type='text']").each(function(){
		if($.trim($(this).val()) != ''){
			count +=1;
		}
	});
	if(count != 0){
		$("#"+id).find("input[type='text']").each(function(){
			$(this).addClass("required");
		});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','');
		});
	}else{
		$("#"+id).find("input[type='text']").each(function(){
			$(this).removeClass("required");
	});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','none');
		});
	}
}

function initTreeValue2CallBack(){
	cydw('org1');
	cydw('org2');
}

function setEmptyValueForTree(id){
	$("#"+id).val("");
	$("#"+id+"_hideId").val("");
	$("#"+id+"_hideName").val("");
	$("#"+id+"_code").val("");
	$("#"+id+"_value").val("");
	$("#"+id+"_name").val("");
	$("#"+id + ",[name$='/"+id+"_code']" + ",[name$='/"+id+"_name'],[name$='/"+id+"_value']").val("");
	$("#sqdm").val("");
	cydw('org1');
	cydw('org2');
}

function setContent(){
	if($("#project_cotent_01").is(":checked")){
		$("#ptxm").show();
		$("#train1").show();
		$("#tblTrains").show();
		$("#tblTrains1").show();
		$("#tblTrains2").show();
		$("#remark").show();
		$("#feaReport_upload").show();
		$("#train2").hide();
		setValueNull("train2");
		$("#tblCertificationsinfo").hide();
		setValueNull("tblCertificationsinfo");
		$("#tblCertifications").hide();
		setValueAddNull("tblCertifications");
		$("#tblCertifications2").hide();
		$("#tblCertifications3").hide();
		$("#tblConditions").hide();
		setValueAddNull("tblConditions");
		$("#tblConditions1").hide();
		$("#tblConditions2").hide();
		$("#tblCollects").hide();
		setValueAddNull("tblCollects");
		$("#tblCollects1").hide();
		$("#tblCollects2").hide();
	}
	if($("#project_cotent_02").is(":checked")){
		$("#ptxm").show();
		$("#train2").show();
		$("#tblConditions").show();
		$("#tblConditions1").show();
		$("#tblConditions2").show();
		$("#tblCollects").show();
		$("#tblCollects1").show();
		$("#tblCollects2").show();
		$("#remark").hide();
		$("#feaReport_upload").hide();
		
		$("#train1").hide();
		setValueNull("train1");
		$("#tblCertificationsinfo").hide();
		setValueNull("tblCertificationsinfo");
		$("#tblCertifications").hide();
		setValueAddNull("tblCertifications");
		$("#tblCertifications2").hide();
		$("#tblCertifications3").hide();
		$("#tblTrains").hide();
		setValueAddNull("tblTrains");
		$("#tblTrains1").hide();
		$("#tblTrains2").hide();
	}
	if($("#project_cotent_03").is(":checked")){
		$("#ptxm").show();
		$("#tblCertificationsinfo").show();
		$("#tblCertifications").show();
		$("#tblCertifications2").show();
		$("#tblCertifications3").show();
		$("#remark").hide();
		$("#feaReport_upload").hide();
		$("#train1").hide();
		setValueNull("train1");
		$("#train2").hide();
		setValueNull("train2");
		
		$("#tblTrains").hide();
		setValueAddNull("tblTrains");
		$("#tblTrains1").hide();
		$("#tblTrains2").hide();
		
		$("#tblConditions").hide();
		setValueAddNull("tblConditions");
		$("#tblConditions1").hide();
		$("#tblConditions2").hide();
		
		$("#tblCollects").hide();
		setValueAddNull("tblCollects");
		$("#tblCollects1").hide();
		$("#tblCollects2").hide();
	}
	if(!$("#project_cotent_01").is(":checked") && !$("#project_cotent_02").is(":checked") && !$("#project_cotent_03").is(":checked")){
		$("#ptxm").hide();
		$("#train1").hide();
		$("#train2").hide();
		$("#remark").hide();
		$("#tblCertificationsinfo").hide();
		$("#tblCertifications").hide();
		$("#tblCertifications2").hide();
		$("#tblCertifications3").hide();
		$("#feaReport_upload").hide();
		
		$("#tblTrains").hide();
		$("#tblTrains1").hide();
		$("#tblTrains2").hide();
		
		$("#tblConditions").hide();
		$("#tblConditions1").hide();
		$("#tblConditions2").hide();
		
		$("#tblCollects").hide();
		$("#tblCollects1").hide();
		$("#tblCollects2").hide();
		
	}
}

function setValueNull(tableId){
	$("#"+tableId).find("input").each(function(){
		$(this).val("");
	});
}
function setValueAddNull(tableId){
	var table = $("#"+tableId);
	var length = 0;
	if(table.attr("id") == 'tblTrains'){
		length=table.find("tr").length-3;
		for(var i=length;i>0;i--){
			table.find("tr:eq("+(length+3-1)+")").remove();
		}
	}else{
		length=table.find("tr").length-2;
		for(var i=length;i>0;i--){
			table.find("tr:eq("+(length+2-1)+")").remove();	
		}
	}
}
</script>




